import static CloudToolsPluginUtil.withCluster

grailsHome = Ant.project.properties."environment.GRAILS_HOME"

includeTargets << new File ( "${grailsHome}/scripts/Init.groovy" )  

target('default': "Describe the cluster") {
    doStuff()
}

target(doStuff: "The implementation task") {
    withCluster {clusterManager, clusterName, cluster ->
        cluster.dumpInfo()
    }
}
